package start.doubudouyin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 关注表
 * @TableName follow
 */
@TableName(value ="follow")
@Data
public class Follow {
    /**
     * 关注者ID
     */
    @TableId
    private String followerId;

    /**
     * 被关注者ID
     */
    private String followedId;

    /**
     * 关注时间
     */
    private Date followTime;
}